package cn.wetcland.urban.admin.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SwiperAddDTO {

    /**
     * 轮播图片ID
     */
    @NotNull(message = "请输入轮播图图片ID")
    private Long swiperImgId;

    /**
     * 优先级 越小越大
     */
    @NotNull(message = "请输入轮播图优先级")
    private Integer priority;

    /**
     * 关联的文章ID
     */
    @NotNull(message = "请输入轮播图关联文章ID")
    private Long relArticleId;

    /**
     * 0都能看 1消费者端 2司机端
     */
    @NotNull(message = "请输入轮播图面向群体")
    private Integer type;

}
